using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN TonGiaoEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: TonGiaoEntity</para>
	/// <para>Description: ClassTonGiaoEntity store data of table TonGiao</para>
	///</summary>

	[DataContract]
	public partial class TonGiaoEntity{


		private bool _InternalChangedIsNullTonGiao_ID=true;
		private bool _IsNullTonGiao_ID=true;
		private bool _InternalChangedIsNullMaTonGiao=true;
		private bool _IsNullMaTonGiao=true;
		private bool _InternalChangedIsNullTenTonGiao=true;
		private bool _IsNullTenTonGiao=true;
		private bool _InternalChangedIsNullMoTaTonGiao=true;
		private bool _IsNullMoTaTonGiao=true;
		private int _TonGiao_ID;
		private string _MaTonGiao;
		private string _TenTonGiao;
		private string _MoTaTonGiao;
		[DataMember]
		public bool IsNullTonGiao_ID{
			get{return _IsNullTonGiao_ID;}
			set{if(!_InternalChangedIsNullTonGiao_ID)_IsNullTonGiao_ID=value;}
		}
		[DataMember]
		public bool IsNullMaTonGiao{
			get{return _IsNullMaTonGiao;}
			set{if(!_InternalChangedIsNullMaTonGiao)_IsNullMaTonGiao=value;}
		}
		[DataMember]
		public bool IsNullTenTonGiao{
			get{return _IsNullTenTonGiao;}
			set{if(!_InternalChangedIsNullTenTonGiao)_IsNullTenTonGiao=value;}
		}
		[DataMember]
		public bool IsNullMoTaTonGiao{
			get{return _IsNullMoTaTonGiao;}
			set{if(!_InternalChangedIsNullMoTaTonGiao)_IsNullMoTaTonGiao=value;}
		}
		[DataMember]
		public int TonGiao_ID{
			get{return _TonGiao_ID;}
			set{
				_TonGiao_ID=value;
				if(_TonGiao_ID!=null){
					_IsNullTonGiao_ID=false;
					_InternalChangedIsNullTonGiao_ID=true;
				}
			}
		}
		[DataMember]
		public string MaTonGiao{
			get{return _MaTonGiao;}
			set{
				_MaTonGiao=value;
				if(_MaTonGiao!=null){
					_IsNullMaTonGiao=false;
					_InternalChangedIsNullMaTonGiao=true;
				}
			}
		}
		[DataMember]
		public string TenTonGiao{
			get{return _TenTonGiao;}
			set{
				_TenTonGiao=value;
				if(_TenTonGiao!=null){
					_IsNullTenTonGiao=false;
					_InternalChangedIsNullTenTonGiao=true;
				}
			}
		}
		[DataMember]
		public string MoTaTonGiao{
			get{return _MoTaTonGiao;}
			set{
				_MoTaTonGiao=value;
				if(_MoTaTonGiao!=null){
					_IsNullMoTaTonGiao=false;
					_InternalChangedIsNullMoTaTonGiao=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END TonGiaoEntityBase*****************************************/
	/*****************************************************************************************************/
}

